package com.yanqu.road.entity.extension;


import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_u_extension")
public class UserExtensionData extends DataObject {

    @FieldTypeAnnotation(desc = "用户Id", select = true, update = true)
    private long userId;

    @FieldTypeAnnotation(desc = "key值", select = true, update = true, orderASC = true)
    private UserExtensionKeyEnum extensionKey;

    @FieldTypeAnnotation(desc = "int值")
    private int intValue;
    @FieldTypeAnnotation(desc = "string值")

    private String stringValue;

    @FieldTypeAnnotation(desc = "创建时间")
    private Date createAt;

    @FieldTypeAnnotation(desc = "更新时间")
    private Date updateAt;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public UserExtensionKeyEnum getExtensionKey() {
        return extensionKey;
    }

    public void setExtensionKey(UserExtensionKeyEnum extensionKey) {
        this.extensionKey = extensionKey;
    }

    public int getIntValue() {
        return intValue;
    }

    public void setIntValue(int intValue) {
        this.intValue = intValue;
    }

    public String getStringValue() {
        return stringValue;
    }

    public void setStringValue(String stringValue) {
        this.stringValue = stringValue;
    }


    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }
}

